package org.example.spring.carsalemanagementsystem.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.spring.carsalemanagementsystem.entity.Accessory;

import java.util.List;

@Mapper
public interface AccessoryDao {
    List<Accessory> selectByCarId(@Param("carid") String carid);
    void insertOne(Accessory accessory);
    void deleteBatch(List<String> ids);
    void deleteByCarId(@Param("carid") String carid);
}
